/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.plant.service;

import java.util.List;

import com.plant.entity.PgcArticle;

/**
 *
 * @author 植物先生 李琦     
 * 		---下面是PC端文章管理的接口方法                                
 * 
 */
public interface ArticleService {
    	
    	public boolean addarticle(PgcArticle pa);			//添加新建文章
    	
    	public boolean uparticle(PgcArticle pa);			//修改文章
    	
    	public boolean delarticle(PgcArticle pa);			//删除文章
    	
    	public List<Object> listarticle(PgcArticle pa,Integer page,String time);//显示文章列表
    	
    	public List<Object> onearticle(PgcArticle pa);		//显示单篇修改文章详情
    	
    	public Long articlecount(PgcArticle pa);            //统计文章条数
    	
    	public Object oneinf(PgcArticle pa);
    	
    	
}
